// 收货地址相关api
// 用户地址
async function addressList(data) {
	return await uni.$request.post('/address/list', data);
}
// 添加地址
async function addAddress(consignee){
	// return await uni.$request.post('/miniProgram/addShoppingCart', data);
	return await uni.$request.post('/address/add', consignee);
}
// 编辑地址
async function editAddress(consignee) {
	return await uni.$request.post('/address/edit', consignee);
}
// 删除地址
async function delAddress(id) {
	return await uni.$request.get('/address/del/' + id);
}
export {
	addressList,
	addAddress,
	editAddress,
	delAddress
};